package util;

import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

public class GerarTabelas {
	
	public GerarTabelas() {
		Configuration configuration = new AnnotationConfiguration().configure();
		SchemaExport se = new SchemaExport(configuration);
		se.create(true, true);
	}

	public static void main(String[] args) {
		new GerarTabelas();
	}
	
	
}
